#pragma once

#include <d3d10.h>
#include <d3dx10.h>

#include "terrain.h"
#include "drawableObject.h"


//Single vertices for generating plant billboards by geometry shader

class TerrainPlants
{
private:
	ID3D10Device * m_d3dDevice;
	int			m_size;
	DrawableObject * m_DrawableObject;


public:

	TerrainPlants(ID3D10Device * device, int size);
	~TerrainPlants();
	DrawableObject * GetDrawableObject();
	void  Generate(Terrain * terrain, D3DXVECTOR2 upperLeft, D3DXVECTOR2 lowerRight);  //generate points


};